//
// Created by Administrator on 2021/11/4.
//

#ifndef MRENDER_GRIDHELPER_H
#define MRENDER_GRIDHELPER_H


#include "../core/Object3D.h"

class GridHelper : public Object3D{
private:
    float size;
    int divisions;
    Color colorCenterLine;
    Color colorGrid;

public:
    void onInit() override;
    void drawUI() override;
public:
    GridHelper(const float size = 10, const int divisions = 10,
               const Color colorCenterLine = Color(68.0f,68.0f,68.0f,255.0f), const Color colorGrid = Color(136.0f, 136.0f, 136.0f, 255.0f));
};


#endif //MRENDER_GRIDHELPER_H
